<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<%
if(session.getAttribute("username")==null)
	response.sendRedirect("login.jsp");
Object username1=session.getAttribute("username");
String username=String.valueOf(username1);
%>
<table border="1" width="100%">
<tr><th colspan="4" Height="50px">电商后台管理系统</th></tr>
<tr><td width="20%" Height="30px"><a href="goodctrl.jsp">商品管理</a></td>
<td rowspan="4">
修改密码：<br/>
<form action="updatepwd1.jsp">
    账号            <input name="username" type="text" value=<%=username%>><br/>
旧密码        <input name="password" type="password"><br/>
新密码        <input name="newpwd" type="password"><br/>
确认密码    <input name="newpwd1" type="password"><br/>
<input type="submit" value="确定修改">
</form>
</td></tr>
<tr><td width="20%" Height="30px"><a href="insertgoods.jsp">商品添加</a></td></tr>
<tr><td width="20%" Height="30px"><a href="updatepwd.jsp">修改密码</a></td></tr>
<tr><td width="20%" Height="30px"><a href="leave.jsp">系统退出</a></td></tr>
</table>
</body>
</html>